<html>
<head>
	<script type="text/javascript">
		var aJaxURL	= "server-side/report/logs.action.php";		//server side folder url
		var tName	= "report";									//table name
		
		$(document).ready(function () {        	
			
			GetDate("date");
			$("#date").change( function(){ LoadTable()})
			LoadTable();
		});
		
		function LoadTable(){	
			//alert($("#date").val())	
			GetDataTable_not_sort(tName, aJaxURL, "get_list"+"&date="+$("#date").val(), 8,  '', 0);
			SetEvents("", "", "", tName, "add-edit-form", aJaxURL);
		}
		function LoadDialog(){
			GetDialog("add-edit-form", "1200px", "auto");
			GetDataTable_not_sort("inner_table", aJaxURL, "get_list1"+"&id="+rID, 8,  '', 0);
		}
    </script>
</head>

<body>    
    <div id="dt_example" class="ex_highlight_row">
        <div id="container">
            <div id="dynamic">
            	<h2 align="center">ლოგები</h2>
            	<input class="inpt" id="date" style="height: 15px;  margin: 10px;">
                <table class="display" id="report">
                   <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th>თარიღი</th>                  
                            <th>მომხმარებელი</th>
                            <th>ცხრილი</th>
                           	<th>მოქმედება</th>
                        </tr>
                    </thead>
                    <thead>
	                        <tr class="search_header">
	                            <th class="colum_hidden">
	                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
	                            </th>
	                            <th>
	                                <input type="text" name="search_date" value="ფილტრი" class="search_init" />
	                            </th>
	                            <th>
	                                <input type="text" name="search_aleter" value="ფილტრი" class="search_init" />
	                            </th>
	                            <th>
	                                <input type="text" name="search_client" value="ფილტრი" class="search_init" />
	                            </th>
	                            <th>
	                            	<input type="text" name="search_client" value="ფილტრი" class="search_init" />
	                            </th>
	                        </tr>
	                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
            </div>
            <div class="spacer">
            </div>
        </div>
    </div>
</body>
</html>
<div id="add-edit-form" class="form-dialog" title="ა ბარათი">  	<!-- aJax --></div>